package com.jar.exercise.反射;

/**
 * @author ZhangShengHao
 * @className Student
 * @description TODO
 * @date 2020/1/24 17:40
 */
public class Student extends TestParent<String> {
	private String name;
	private Integer age;

	private void show() {
		System.out.println("我是一个人");
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Student() {
	}

	public Student(String name, Integer age) {
		this.name = name;
		this.age = age;
	}

	@Override
	public String toString() {
		return "Student{" +
			"name='" + name + '\'' +
			", age=" + age +
			'}';
	}
}
